package com.example.dsplatform.Service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.dsplatform.pojo.Entity.ResponseResult;
import com.example.dsplatform.pojo.Entity.User;
import org.springframework.stereotype.Component;

public interface AdminService  {
    ResponseResult insert(User user);
    ResponseResult delete(User user);
    ResponseResult selectByName(User user);
    ResponseResult selectUserByPerm(String perm);
    ResponseResult updateById(User user);
    ResponseResult selecttable();

    ResponseResult  selectUser_Role();
    ResponseResult selectByUid(User user);

    ResponseResult sentEmailCode(String id,String email);


    ResponseResult loginByCode(String email,String code);

    ResponseResult selecttablePage(int current_Page,int pageSize);

}
